<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/supplier/list">融资方列表</a></li>
    <li class="active">{{ id ? "编辑":"新增"}}融资方</li>
  </ol>
  <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate>
    <div class="form-group" ng-class="{'has-error':form.financierName.$invalid}">
      <label class="col-sm-2 control-label">融资方名称</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="融资方名称" name="financierName" ng-model="financier.financierName" required="required">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.financierRating.$invalid}">
      <label class="col-sm-2 control-label">融资方等级</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="融资方等级" name="financierRating" ng-model="financier.financierRating" required="required">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.financierScore.$invalid}">
      <label class="col-sm-2 control-label">融资方分数</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="融资方分数" name="financierScore" ng-model="financier.financierScore" required="required">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.remark.$invalid}">
      <label class="col-sm-2 control-label">备注</label>
      <div class="col-sm-5">
        <textarea class="form-control" name="remark" ng-model="financier.remark" placeholder="备注"></textarea>
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-5">
        <button type="submit" class="btn btn-default">提交</button>
      </div>
    </div>
    
  </form>
</div>